package com.xbongbong.pro.enums.lowcode;

import lombok.Getter;

/**
 * @author 吴峰
 * @date 2021/03/08 15:53
 */
@Getter
public enum LowCodeActionTypeEnum {

    /**
     *
     */
    OPEN_URL(1, "openUrl", "enum.lowCodeActionType.memo.openUrl"),
    // 打开弹窗
    OPEN_POPUP(2, "openPopup", "enum.lowCodeActionType.memo.openPopup"),
    // 显示组件
    DISPLAY_COMPONENT(3, "displayComponent", "enum.lowCodeActionType.memo.displayComponent"),
    // 发起请求
    INITIATE_REQUEST(4, "initiateRequest", "enum.lowCodeActionType.memo.initiateRequest"),
    // 页面js
    JAVASCRIPT(5, "javascript", "enum.lowCodeActionType.memo.javascript"),
    // API 服务
    API_SERVICE(6, "apiService", "enum.lowCodeActionType.memo.apiService"),
    ;
    private Integer code;

    private String alias;

    private String memo;

    LowCodeActionTypeEnum(Integer code, String alias, String memo) {
        this.code = code;
        this.alias = alias;
        this.memo = memo;
    }
}
